package com.gavin.sample.idGenerator;

import com.github.rholder.fauxflake.IdGenerators;
import com.github.rholder.fauxflake.api.IdGenerator;

public class FauxflakeIDTest {
	public static void main(String[] args) throws InterruptedException {
		IdGenerator snowflake = IdGenerators.newSnowflakeIdGenerator();
	    String id = snowflake.generateId(1000).asString();
	    System.out.println(id);
	}
}
